package com.cy.dda.model.ao.rule;

import org.hibernate.validator.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 添加角色
 *
 * @author: tanyilin
 * @create: 2018年11月9日 上午10:35:24
 */
@Data
@ApiModel("添加角色")
public class RoleAddAO {

	@ApiModelProperty(value = "角色名称", required = true)
    @NotEmpty(message = "角色名称不可为空")
    private String name;

    @ApiModelProperty(value = "备注", required = true)
    @NotEmpty(message = "备注不可为空")
    private String remarks;
}
